package exercise4;

import exercise4.Customer;

public class Bank {
	public Customer[] customers;
	public int numberOfCustomers=0;
	Bank(){
			customers=new Customer[6];
	}
	void addCustomer(String f,String l) {
			customers[numberOfCustomers]=new Customer(f,l);
			numberOfCustomers+=1;
	}
	int getNumOfCustomers() {
		 	return numberOfCustomers;
	}
	Customer getCustomer(int index) {
		 return customers[index];
	}
}
